package net.xmmpp.uc.im.bootstrap.web;

//import net.xmmpp.uc.im.bootstrap.web.config.mybatis.MasterDaoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//        scanBasePackages = {
//                "net.xmmpp.uc"
//        })
//@EnableAspectJAutoProxy
@EnableDiscoveryClient
//@EnableScheduling
//@EnableConfigurationProperties(BookProperties.class)
//@EnableConfigurationProperties(MasterDaoConfiguration.class)
@SpringBootApplication
public class UCBootstrapWebApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(UCBootstrapWebApplication.class, args);
//        System.out.println("-----------" + context.getEnvironment().getSystemEnvironment().toString());
//        System.out.println("-----------" + context.getEnvironment().getPropertySources().toString());
    }

}

